package com.softwareconstruction.student;

import com.softwareconstruction.paper.PaperType;

/**
 * 学生类，包含学生的基本信息和论文选择偏好
 */
public class Student {
    private final String name;
    private final int preferredQuantity;
    private final PaperType preferredType;

    public Student(String name, int preferredQuantity, PaperType preferredType) {
        this.name = name;
        this.preferredQuantity = preferredQuantity;
        this.preferredType = preferredType;
    }

    public int getPreferredQuantity() {
        return preferredQuantity;
    }

    public PaperType getPreferredPaperType() {
        return preferredType;
    }

    public String getName() {
        return name;
    }
}